<?php
	/*  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *
	 *
	 *	WhyWDB (World of Warcraft cache parser.)
	 *	Copyright (C) 2009, Brent Flap <blog.cyberdevil.nl>
	 *
	 *	This file is part of WhyWDB.
	 *
	 *	WhyWDB is free software: you can redistribute it and/or modify
	 *	it under the terms of the GNU General Public License as published by
	 *	the Free Software Foundation, either version 3 of the License, or
	 *	any later version.
	 *
	 *	WhyWDB is distributed in the hope that it will be useful,
	 *	but WITHOUT ANY WARRANTY; without even the implied warranty of
	 *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	 *	GNU General Public License for more details.
	 *
	 *	You should have received a copy of the GNU General Public License
	 *	along with WhyWDB.  If not, see <http://www.gnu.org/licenses/>.
	 *
	 *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  *  */
	$wdb_structs = array(
		"BDIW"	=> array(
			"classid"					=> "2,4,0",
			"subclass" 					=> "0,4,0",
			"depClassId"				=> "0,4,0",
			"nameval"					=> "0,string,0",
			"displayid"					=> "3,4,0",
			"qualId"					=> "0,4,0",
			"typeBin"					=> "0,8,0",
			"buyPriceAmt"				=> "0,4,0",
			"sellPriceAmt"				=> "0,4,0",
			"equipSlotId"				=> "0,4,0",
			"classesBin"				=> "0,4,0",
			"racesBin"					=> "0,4,0",
			"itemLvl"					=> "0,4,0",
			"reqLvl"					=> "0,4,0",
			"reqSkillId"				=> "0,4,0",
			"reqSkillLvl"				=> "0,4,0",
			"reqSpellId"				=> "0,4,0",
			"reqRankId"					=> "0,4,0",
			"reqSuperRankId"			=> "0,4,0",
			"reqFactionId"				=> "0,4,0",
			"reqFactionLvl"				=> "0,4,0",
			"stackUniqueMaxAmt"			=> "0,4,0",
			"stackMaxAmt"				=> "0,4,0",
			"containerSlots"			=> "0,4,0",
			"itemStatsCount"			=> "0,4,0",
			"stat1Id"					=> "0,4,4",
			"stat1Amt"					=> "0,4,4",
			"stat2Id"					=> "0,4,4",
			"stat2Amt"					=> "0,4,4",
			"stat3Id"					=> "0,4,4",
			"stat3Amt"					=> "0,4,4",
			"stat4Id"					=> "0,4,4",
			"stat4Amt"					=> "0,4,4",
			"stat5Id"					=> "0,4,4",
			"stat5Amt"					=> "0,4,4",
			"stat6Id"					=> "0,4,4",
			"stat6Amt"					=> "0,4,4",
			"stat7Id"					=> "0,4,4",
			"stat7Amt"					=> "0,4,4",
			"stat8Id"					=> "0,4,4",
			"stat8Amt"					=> "0,4,4",
			"stat9Id"					=> "0,4,4",
			"stat9Amt"					=> "0,4,4",
			"stat10Id"					=> "0,4,4",
			"stat10Amt"					=> "0,4,4",
			"ScalingStatDistribution"	=> "0,4,0",
			"ScalingStatValue"			=> "0,4,0",
			"dmg1MinAmt"				=> "0,float,0",
			"dmg1MaxAmt"				=> "0,float,0",
			"dmg1TypeId"				=> "0,4,0",
			"dmg2MinAmt"				=> "0,float,0",
			"dmg2MaxAmt"				=> "0,float,0",
			"dmg2TypeId"				=> "0,4,0",
			"resistPhysAmt"				=> "0,4,0",
			"resistHolyAmt"				=> "0,4,0",
			"resistFireAmt"				=> "0,4,0",
			"resistNatureAmt"			=> "0,4,0",
			"resistFrostAmt"			=> "0,4,0",
			"resistShadowAmt"			=> "0,4,0",
			"resistArcaneAmt"			=> "0,4,0",
			"wpnDelayAmt"				=> "0,4,0",
			"ammoTypeId"				=> "0,4,0",
			"rangeMaxFlt"				=> "0,float,0",
			"spell1Id"					=> "0,4,0",
			"spell1TriggerId"			=> "0,4,0",
			"spell1ChargeAmt"			=> "0,4,0",
			"spell1CooldownAmt"			=> "0,4,0",
			"spell1CategoryId"			=> "0,4,0",
			"spell1CategoryCooldownAmt" => "0,4,0",
			"spell2Id"					=> "0,4,0",
			"spell2TriggerId"			=> "0,4,0",
			"spell2ChargeAmt"			=> "0,4,0",
			"spell2CooldownAmt"			=> "0,4,0",
			"spell2CategoryId"			=> "0,4,0",
			"spell2CategoryCooldownAmt" => "0,4,0",
			"spell3Id"					=> "0,4,0",
			"spell3TriggerId"			=> "0,4,0",
			"spell3ChargeAmt"			=> "0,4,0",
			"spell3CooldownAmt"			=> "0,4,0",
			"spell3CategoryId"			=> "0,4,0",
			"spell3CategoryCooldownAmt" => "0,4,0",
			"spell4Id"					=> "0,4,0",
			"spell4TriggerId"			=> "0,4,0",
			"spell4ChargeAmt"			=> "0,4,0",
			"spell4CooldownAmt"			=> "0,4,0",
			"spell4CategoryId"			=> "0,4,0",
			"spell4CategoryCooldownAmt" => "0,4,0",
			"spell5Id"					=> "0,4,0",
			"spell5TriggerId"			=> "0,4,0",
			"spell5ChargeAmt"			=> "0,4,0",
			"spell5CooldownAmt"			=> "0,4,0",
			"spell5CategoryId"			=> "0,4,0",
			"spell5CategoryCooldownAmt" => "0,4,0",
			"bondId"					=> "0,4,0",
			"descrVal"					=> "0,string,0",
			"bookTextId"				=> "0,4,0",
			"bookLngId"					=> "0,4,0",
			"bookStationaryId"			=> "0,4,0",
			"startQuestId"				=> "0,4,0",
			"lockPickMinLvl"			=> "0,4,0",
			"materialId"				=> "0,4,0",
			"sheathId"					=> "0,4,0",
			"randProperty1Id"			=> "0,4,0",
			"randProperty2Id"			=> "0,4,0",
			"blockAmt"					=> "0,4,0",
			"itemSetId"					=> "0,4,0",
			"duraMaxAmt"				=> "0,4,0",
			"itemAreaId"				=> "0,4,0",
			"itemMapId"					=> "0,4,0",
			"bagFamilyId"				=> "0,4,0",
			"totemCatDbcId"				=> "0,4,0",
			"socket1ColorId"			=> "0,4,0",
			"socket1Amt"				=> "0,4,0",
			"socket2ColorId"			=> "0,4,0",
			"socket2Amt"				=> "0,4,0",
			"socket3ColorId"			=> "0,4,0",
			"socket3Amt"				=> "0,4,0",
			"socketBonus"				=> "0,4,0",
			"gemPropertiesDbcId"		=> "0,4,0",
			"disenchantMinLvl"			=> "0,4,0",
			"armorDmgModFlt"			=> "0,float,0",
			"ExistingDuration"			=> "0,4,0",
			"ItemLimitCategory"			=> "0,4,0",
			"HolidayId"					=> "0,4,0"
		),
		"TSQW"	=> array(
			"DuplicatedQuestId"			=> "2,4,0",
			"QuestType"					=> "0,4,0", // SpecialFlags
			"QuestLevel"				=> "0,4,0",
			"areaIdOrsortId"			=> "0,4,0", // Positive value = areaId, negative value = sortId
			"infoId"					=> "0,4,0", // Type
			"SuggestedPlayers"			=> "0,4,0",
			"Faction1Id"				=> "0,4,0",
			"Faction1Amt"				=> "0,4,0",
			"Faction2Id"				=> "0,4,0",
			"Faction2Amt"				=> "0,4,0",
			"nextQuestId"				=> "0,4,0",
			"RewMoney"					=> "0,4,0",
			"SubExp80"					=> "0,4,0",
			"RewSpellId"				=> "0,4,0",
			"CastSpell"					=> "0,4,0",
			"unk0"						=> "0,4,0",
			"srcItemId"					=> "0,4,0",
			"flags"						=> "0,4,0", // Flags
			"unk1"						=> "0,4,0",
			"unk2"						=> "0,4,0",
			"unk3"						=> "0,4,0",
			"rewItem1id"				=> "0,4,0",
			"rewItem1Amt"				=> "0,4,0",
			"rewItem2id"				=> "0,4,0",
			"rewItem2Amt"				=> "0,4,0",
			"rewItem3id"				=> "0,4,0",
			"rewItem3Amt"				=> "0,4,0",
			"rewItem4id"				=> "0,4,0",
			"rewItem4Amt"				=> "0,4,0",
			"rewChoiceItem1Id"			=> "0,4,0",
			"rewChoiceItem1Amt"			=> "0,4,0",
			"rewChoiceItem2Id"			=> "0,4,0",
			"rewChoiceItem2Amt"			=> "0,4,0",
			"rewChoiceItem3Id"			=> "0,4,0",
			"rewChoiceItem3Amt"			=> "0,4,0",
			"rewChoiceItem4Id"			=> "0,4,0",
			"rewChoiceItem4Amt"			=> "0,4,0",
			"rewChoiceItem5Id"			=> "0,4,0",
			"rewChoiceItem5Amt"			=> "0,4,0",
			"rewChoiceItem6Id"			=> "0,4,0",
			"rewChoiceItem6Amt"			=> "0,4,0",
			"unk4"						=> "0,4,0",
			"unk5"						=> "0,4,0",
			"unk6"						=> "0,4,0",
			"unk7"						=> "0,4,0",
			"titleVal"					=> "0,string,0",
			"objectivesVal"				=> "0,string,0",
			"detailsVal"				=> "0,string,0",
			"subDescVal"				=> "0,string,0",
			"reqCreatureOrGO1id"		=> "0,4,0",
			"reqCreatureOrGO1count"		=> "0,4,0",
			"unk8"						=> "0,4,0",
			"reqCreatureOrGO2id"		=> "0,4,0",
			"reqCreatureOrGO2count"		=> "0,4,0",
			"unk9"						=> "0,4,0",
			"reqCreatureOrGO3id"		=> "0,4,0",
			"reqCreatureOrGO3count"		=> "0,4,0",
			"unk10"						=> "0,4,0",
			"reqCreatureOrGO4id"		=> "0,4,0",
			"reqCreatureOrGO4count"		=> "0,4,0",
			"unk11"						=> "0,4,0",
			"reqItem1Id"				=> "0,4,0",
			"reqItem1Count"				=> "0,4,0",
			"reqItem2Id"				=> "0,4,0",
			"reqItem2Count"				=> "0,4,0",
			"reqItem3Id"				=> "0,4,0",
			"reqItem3Count"				=> "0,4,0",
			"reqItem4Id"				=> "0,4,0",
			"reqItem4Count"				=> "0,4,0",
			"reqItem5Id"				=> "0,4,0",
			"reqItem5Count"				=> "0,4,0",
			"reqItem6Id"				=> "0,4,0",
			"reqItem6Count"				=> "0,4,0",
			"objectiveText1"			=> "0,string,0",
			"objectiveText2"			=> "0,string,0",
			"objectiveText3"			=> "0,string,0",
			"objectiveText4"			=> "0,string,0",
		),
		"BOMW"	=> array(
			"name1"						=> "2,string,0",
			"name2"						=> "0,string,0",
			"name3"						=> "0,string,0",
			"name4"						=> "0,string,0",
			"subname"					=> "0,string,0",
			"iconname"					=> "0,string,0",
			"type_flags"				=> "0,4,0",
			"typeid"					=> "0,4,0",
			"family_id"					=> "0,4,0",
			"rank"						=> "0,4,0",
			"killcredit1"				=> "0,4,0",
			"killcredit2"				=> "0,4,0",
			"male_displayid"			=> "0,4,0",
			"female_displayid"			=> "0,4,0",
			"male_displayid2"			=> "0,4,0",
			"female_displayid2"			=> "0,4,0",
			"healthmodifier"			=> "0,float,0",
			"powermodifier"				=> "0,float,0",
			"racialleader"				=> "0,4,0",
			"questitem1"				=> "0,4,0",
			"questitem2"				=> "0,4,0",
			"questitem3"				=> "0,4,0",
			"questitem4"				=> "0,4,0",
			"questitem5"				=> "0,4,0",
			"questitem6"				=> "0,4,0",
			"movementid"				=> "0,4,0"
		),
		"BOGW"	=> array(
			"Type"						=> "2,4,0",
			"DisplayID"					=> "0,4,0",
			"Name"						=> "0,string,0",
			"Category"					=> "0,4,0",
			"CastBarText"				=> "0,string,0",
			"UnkStr"					=> "0,string,0",
			"spellfocus"				=> "0,4,0",
			"sound1"					=> "0,4,0",
			"sound2"					=> "0,4,0",
			"sound3"					=> "0,4,0",
			"sound4"					=> "0,4,0",
			"sound5"					=> "0,4,0",
			"sound6"					=> "0,4,0",
			"sound7"					=> "0,4,0",
			"sound8"					=> "0,4,0",
			"sound9"					=> "0,4,0",
			"unknown1"					=> "0,4,0",
			"unknown2"					=> "0,4,0",
			"unknown3"					=> "0,4,0",
			"unknown4"					=> "0,4,0",
			"unknown5"					=> "0,4,0",
			"unknown6"					=> "0,4,0",
			"unknown7"					=> "0,4,0",
			"unknown8"					=> "0,4,0",
			"unknown9"					=> "0,4,0",
			"unknown10"					=> "0,4,0",
			"unknown11"					=> "0,4,0",
			"unknown12"					=> "0,4,0",
			"unknown13"					=> "0,4,0",
			"unknown14"					=> "0,4,0",
			"Size"						=> "0,float,0",
			"QuestItem1"				=> "0,4,0",
			"QuestItem2"				=> "0,4,0",
			"QuestItem3"				=> "0,4,0",
			"QuestItem4"				=> "0,4,0",
			"QuestItem5"				=> "0,4,0",
			"QuestItem6"				=> "0,4,0",
		)
	);
?>